package com.pojo;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
@Data//setter getter
@NoArgsConstructor//空参
@AllArgsConstructor//全参
@ToString//toString
@TableName("service_item")
public class ServiceItem {
    private int id;
    private int mid;    //提供该服务的商家
    private int cid;    //支持该服务的小区id
    private String type;   //类型id
    private String name;    //服务名称
    private String introduce;   //服务介绍
    private String supportTime; //服务时间段
    private String photo;  //图片介绍
    private BigDecimal price;   //预计价格
    private int status; //状态
    //private Community community;
    private ServiceMerchant serviceMerchant;
}
